package com.zhongyu.comm.api;

import com.zhongyu.comm.vo.DetailVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface DetailApi {

    @GetMapping("/detail/searchAll")
    List<DetailVo> searchAll();

    @GetMapping("/detail/del")
    int del (@RequestParam("id") int id);   //@RequestParam("id") id不可省略
}
